Glasgow | 26-ITP-May | Sandani Kannangara | Sprint 1 | Form Controls#1288
Glasgow | 26-ITP-May | Sandani Kannangara | Sprint 1 | Form Controls#1288SandzSoft wants to merge 4 commits into
Conversation
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This comment has been minimized.
This comment has been minimized.
Luro91
left a comment
There was a problem hiding this comment.
Looks quiet good. Everything is working as expected. I have some comments on the code formatting
There was a problem hiding this comment.
Nice styling of the form. I like how it looks
| <div class="container"> | ||
| <header> |
There was a problem hiding this comment.
The standard is to use intendation for children elements to make it easer to understand the html structure.How can you ensure consistent formatting in your code automatically?
There was a problem hiding this comment.
I can ensure consistent formatting automatically by using a code formatter like Prettier in VS Code with “format on save” enabled, so indentation and structure are cleaned automatically every time I save the file.
| this will also help you fill in your PR message later--> | ||
| <div class="field"> | ||
| <label for="customer_name">Name :</label> | ||
| <input minlength="2" required type="text" id="customer_name" name="customer_name"> |
|
|
||
|
|
||
|
|
||
|
|

Learners, PR Template
Self checklist
Changelist
A semantic HTML form
Required name and email validation
T-shirt colour selection
T-shirt size selection
CSS styling using Flexbox layout
Accessibility improvements